<%@ page import="com.po.Users" %><%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2019/12/12
  Time: 19:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>使用useBean方式创建javaBean</title>
</head>
<body>
<h1>使用useBean方式创建javaBean</h1>
<jsp:useBean id="myUsers" class="com.po.Users" scope="page" > </jsp:useBean>


用户名:<%= myUsers.getUserName() %><br>
密码:<%=myUsers.getPassWord()%>
</body>
</html>
